package com.adz.robotdemo.utils;

import android.text.Spanned;

/**
 * Created by joymufeng on 2015/8/19.
 */
public class Answer {
    public boolean isSuccess;
    public String errMessage;
    public String answer;
    public String question;
    public Double score;
    public Spanned spanned;
    public boolean isAnswer;
    private  boolean falg;

    public boolean isFalg() {
        return falg;
    }

    public void setFalg(boolean falg) {
        this.falg = falg;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public boolean isAnswer() {
        return isAnswer;
    }

    public void setAnswer(boolean answer) {
        isAnswer = answer;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public Spanned getSpanned() {
        return spanned;
    }

    public void setSpanned(Spanned spanned) {
        this.spanned = spanned;
    }


    @Override
    public String toString(){
        return "{isSuccess: " + isSuccess + ", answer: " + answer + ", question: " + question + ", score: " + score + ", errMessage: " + errMessage + "}";
    }
}
